<template>
	<view>
		<HeaderVue title=""></HeaderVue>
		<view class="item">
			<view class="bg col">
				<view class="tip1" style="margin-top: 40rpx;">
					请选择
				</view>
				<view class="tip1" style="margin-top: 20rpx;">
					您的报名身份
				</view>
				<image src="/static/images/tip2.png" class="tip2"></image>
				<view class="col-center">
					<view class="bg2 row-between-center" style="margin-top: 60rpx;" @click="goPerson">
						<view class="type">
							个人报名
						</view>
						<image src="/static/images/single.png" class="type-img"></image>
					</view>
					<view class="bg2 row-between-center" @click="goGroup">
						<view class="type">
							团体报名
						</view>
						<image src="/static/images/group.png" class="type-img"></image>
					</view>
				</view>

			</view>

			<image src="/static/images/close.png" class="close"></image>
		</view>

	</view>
</template>

<script>
	import HeaderVue from '@/components/Header.vue'
	export default {
		components: {
			HeaderVue
		},
		data() {
			return {
				id:''
			}
		},
		onLoad(option) {
			this.id = option.id
		},
		methods: {
			goPerson() {
				uni.navigateTo({
					url: '/src/pages/index/submitPerson?id='+this.id+'&type=1'
				})
			},
			goGroup() {
				uni.navigateTo({
					url: '/src/pages/index/submitGroup?id='+this.id+'&type=2'
				})
			},
		}
	}
</script>
<style>
	page {
		width: 100vw;
		height: 100vh;
		background: linear-gradient(180deg, #FFB6C1 0%, #FCE5E5 100%);
	}
</style>
<style lang="scss" scoped>
	.item {
		width: 100%;
		height: 680rpx;
		position: relative;
	}
	.tip2{
		position: absolute;
		top: 124rpx;
		right: 0;
		width: 302rpx;
		height: 110rpx;
	}
	.bg {
		margin-top: 124rpx;
		background-size: 100% 100%;
		width: 100%;
		height: 100%;
		background-repeat: no-repeat;
		background-image: url('@/static/images/sign_bg.png');
	}

	.tip1 {
		margin-left: 50rpx;
		font-weight: 600;
		font-size: 48rpx;
		color: #FF5280;
		line-height: 48rpx;
	}

	.close {
		position: absolute;
		top: 0;
		right: 20rpx;
		width: 72rpx;
		height: 72rpx;
	}

	.bg2 {
		padding: 0 60rpx;
		background-size: 100% 100%;
		width: 678rpx;
		height: 186rpx;
		background-repeat: no-repeat;
		background-image: url('@/static/images/sign_item.png');
	}

	.type {
		font-weight: 600;
		font-size: 40rpx;
		color: #BF788D;
	}

	.type-img {
		width: 64rpx;
		height: 64rpx;
	}
</style>